const runtime.pallocChunkPages
21 uses
runtime (current package)
mgcscavenge.go#L146: scavChunkHiOccPages = uint16(scavChunkHiOccFrac * pallocChunkPages)
mgcscavenge.go#L1126: return i, pallocChunkPages - 1
mgcscavenge.go#L1366: if uint(sc.inUse)+npages > pallocChunkPages {
mgcscavenge.go#L1375: if sc.inUse == pallocChunkPages {
mheap.go#L1472: ask := alignUp(npage, pallocChunkPages) * pageSize
mpagealloc.go#L58: pallocChunkPages = 1 << logPallocChunkPages
mpagealloc.go#L59: pallocChunkBytes = pallocChunkPages * pageSize
mpagealloc.go#L422: p.chunkOf(c).scavenged.setRange(0, pallocChunkPages)
mpagealloc.go#L590: scav += chunk.scavenged.popcntRange(si, pallocChunkPages-si)
mpagealloc.go#L591: chunk.allocRange(si, pallocChunkPages-si)
mpagealloc.go#L592: p.scav.index.alloc(sc, pallocChunkPages-si)
mpagealloc.go#L595: scav += chunk.scavenged.popcntRange(0, pallocChunkPages)
mpagealloc.go#L597: p.scav.index.alloc(c, pallocChunkPages)
mpagealloc.go#L887: if pallocChunkPages-chunkPageIndex(p.searchAddr.addr()) >= uint(npages) {
mpagealloc.go#L962: p.chunkOf(sc).free(si, pallocChunkPages-si)
mpagealloc.go#L963: p.scav.index.free(sc, si, pallocChunkPages-si)
mpagealloc.go#L966: p.scav.index.free(c, 0, pallocChunkPages)
mpagealloc.go#L983: freeChunkSum = pallocSum(uint64(pallocChunkPages) |
mpagealloc.go#L984: uint64(pallocChunkPages<<logMaxPackedValue) |
mpagealloc.go#L985: uint64(pallocChunkPages<<(2*logMaxPackedValue)))
mpallocbits.go#L12: type pageBits [pallocChunkPages / 64]uint64
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |